package com.hejia.alauda.entity;

import java.util.Date;

import javax.persistence.Column;

/**
 * 合家红包
 * 
 * @author hyr
 *
 */
public class HejiaRedPacket extends BaseEntity {

	private static final long serialVersionUID = -5142106237984466725L;

	@Column
	private String externalId; // 外部ID，发放红包链接使用
	@Column
	private Integer totalAmount; // 总金额
	@Column
	private Integer number; // 红包个数
	@Column
	private Integer maxAmount; // 最大金额
	@Column
	private Integer minAmount; // 最小金额
	@Column
	private Date receiveStartTime; // 领取开始时间
	@Column
	private Date receiveEndTime; // 领取结束时间

	public String getExternalId() {
		return externalId;
	}

	public void setExternalId(String externalId) {
		this.externalId = externalId;
	}

	public Integer getTotalAmount() {
		return totalAmount;
	}

	public void setTotalAmount(Integer totalAmount) {
		this.totalAmount = totalAmount;
	}

	public Integer getNumber() {
		return number;
	}

	public void setNumber(Integer number) {
		this.number = number;
	}

	public Integer getMaxAmount() {
		return maxAmount;
	}

	public void setMaxAmount(Integer maxAmount) {
		this.maxAmount = maxAmount;
	}

	public Integer getMinAmount() {
		return minAmount;
	}

	public void setMinAmount(Integer minAmount) {
		this.minAmount = minAmount;
	}

	public Date getReceiveStartTime() {
		return receiveStartTime;
	}

	public void setReceiveStartTime(Date receiveStartTime) {
		this.receiveStartTime = receiveStartTime;
	}

	public Date getReceiveEndTime() {
		return receiveEndTime;
	}

	public void setReceiveEndTime(Date receiveEndTime) {
		this.receiveEndTime = receiveEndTime;
	}

}
